#include<iostream>
#include<string>
using namespace std;
int main() {
	string s0("Hello world");
	string s1;
	string s2(s0);
	string s3(s2, 6, 5);
	string s4("Hello world Hello bit");
	string s5("Hello world Hello bit", 7);
	string s6(5, 'x');
	string s7(s0.begin(), s0.begin() + 6);
	cout << "s0:" << s0 << endl;
	cout << "s1:" << s1 << endl;
	cout << "s2:" << s2 << endl;
	cout << "s3:" << s3 << endl;
	cout << "s4:" << s4 << endl;
	cout << "s5:" << s5 << endl;
	cout << "s6:" << s6 << endl;
	cout << "s7:" << s7 << endl;
	return 0;
}
